package org.reference.generic.work;

import java.util.ArrayList;

import org.reference.generic.base.Item;
import org.reference.generic.information.Gene;

/**
 * 
 */
public class Schedule extends Item {

    /**
     * 
     */
    public Schedule() {
    	setName("SCHEDULE");
    }

    /**
     * 
     */
    private double fitness;

    /**
     * 
     */
    private ArrayList<Item> jobList;

    /**
     * 
     */
  
    private Gene gene;

    /**
     * @return
     */
    public double fitnessCalculation() {
        // TODO implement here
        return 0.0d;
    }

    /**
     * @return
     */
    public double averageFitnessCalculation() {
        // TODO implement here
        return 0.0d;
    }

    /**
     * @param gene
     */
    public void setGene(Gene gene) {
        this.gene=gene;
    }

    /**
     * @return
     */
    public Gene getGene() {
        return gene;
    }

    /**
     * @return
     */
    public Job getNextJob() {
      
    
        return null; //
    }

    /**
     * @return
     */
    public boolean isAvailable() {
        // TODO implement here
        return false;
    }
    public ArrayList<Item> getJobList() {
		return jobList;
	}

	public void setJobList(ArrayList<Item> jobList) {
		this.jobList = jobList;
	}

}